Open topic with navigation
Duplicate an existing server environment
The following describes how to duplicate an existing MOMI environment
making the changes necessary in order to support another instance of the
MOMI server. Take
note of the explanations following as avoiding some files may speed up
the creation of the duplicate environment.
1. stop the existing MOMI process.
2. using FUP duplicate all of the files in
the existing MOMI subvolume to another subvolume.
3. restart the existing MOMI process.
4. In the duplicate OBYMOMI file, assign
a new process name to MOMI (each main MOMI must have a unique name).
5. In the duplicate CONFMOMI file, change
the settings that must be unique for each environment:
- for the keyword TCPIP-LISTEN,
assign a new port number (each MOMI server must listen on a unique port).
- for the keyword HSTnnDB,
assign new vol/subvol locations (each MOMI server must have unique history
files).
- check the file for
any other reference to vol/subvol used by the existing MOMI for storage
or work purposes (the keywords previously listed are the most common but
a few others exist).
The following are brief explanations of certain
files within the MOMI subvolume. MOMI
will automatically create on start up new one(s) if they are not duplicated
into the new environment:
- The CNF01DB file is
the MOMI configuration database. It
stores configuration information entered online such as Alarm definitions. It does
not generally store information found in the OBYMOMI or CONFMOMI files. To start
the start the duplicate environment 'clean', simply delete this file.
- The LOG01DB file is
the MOMI log file. It
stores messages logged by MOMI. If
you want to start the duplicate environment with an empty log file, simply
delete this file.
- The HSTnnDB files are
the MOMI history files. If
you want to start the duplicate environment with empty history files,
simply delete them. These
files are usually large and may take some time to duplicate. It
is usually faster to duplicate them from one disk volume to another (to
avoid drive thrashing).